home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
msoftapp.zip
/
BBUTTON.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-01
|
395b
|
20 lines
// bbutton.cpp : bitmap button test
#include"viewer.h"
BOOL CButtonTestDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// load bitmaps for all the bitmap buttons (does SubclassButton as well)
for (int i = 0; i < N_BUTTONS; i++)
VERIFY(buttons[i].AutoLoad(ID_BUTTON_MIN + i, this));
return TRUE;
}
void CButtonTestDlg::OnOK()
{
EndDialog(IDOK);
}